import { defineStore } from 'pinia'
import { ref } from 'vue'

const useTelephoneStore = defineStore('telephone', () => {

  const tel = ref<string>('+86')

  const userTel = ref<string>('')

  const ChangeTel = (value: string) => {
    tel.value = value
  }

  return {
    tel,
    ChangeTel,
    userTel,

  }
})

export default useTelephoneStore